import { createApp } from 'vue'
import App from './App.vue'
import pinia from '@/store/index'
import router from '@/router/index'
import { useSettingsStore } from '@/store/modules/settingStore'
import 'element-plus/dist/index.css'
import '@/assets/scss/element.scss'
// 所有页面的公共样式文件
import '@/assets/css/commit.css'

const app = createApp(App)
app.use(pinia)
app.use(router)
app.mount('#app')
// 使初始的相关配置生效
const settingStore = useSettingsStore()
settingStore.initSettings()
